<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript" src="scripts/boot.js"></script>
<style type="text/css">
.ftitle{
    font-size:14px;
    font-weight:bold;
    padding:5px 0;
    margin-bottom:10px;
    border-bottom:1px solid #ccc;
}
.fitem{
    margin-bottom:10px;
}
.fitem label{
    display:inline-block;
    font-weight:bold;
    text-align:center;
    width: 29%;
}
</style>
</head>
<body style="border: 0px; margin: 0px; padding: 0px;width: 100%;height: 100%">
<form id="form1" method="post">
	<div class="fitem">
		<br />
		<label>电话号码：</label>
		<input name="phoneNum" emptyText="请输入电话号码" class="mini-textbox" vtype="int" required="true" maxLength="29" style="width: 220px"/>
	</div>
</form>
<div style="text-align:center;padding-top: 40px;">
    <a class="mini-button" onclick="save();" style="width:60px;margin-right:30px;">确定</a>       
    <a class="mini-button" onclick="window.CloseOwnerWindow();" style="width:60px;">取消</a>       
</div>
<script type="text/javascript">
mini.parse();
var form = new mini.Form("form1");
//保存
function save(){
	var o = form.getData(true); 
    form.validate();
    if (form.isValid() == false) return;
    $.post('call_blacklist_save.do',o,function(text){
    	if(text.success){
        	window.CloseOwnerWindow("succ");
        }else{
        	mini.alert("数据错误！");
        }
    },"json");
}
</script>
</body>
</html>